<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!--顶部导航条-->
    
    <jsp:include page="/WEB-INF/jsp/shortcut.jsp"></jsp:include>
    
    
    <!--搜索框-->
    
    <div class="container" style="background: url(${pageContext.request.contextPath }/img/icon-bg.jpg); width: auto; padding-top: 30px;margin-top: 10px; height: 150px;">
			<div class="row">
				<div class="col-lg-12" style="padding-left: 650px; padding-top: 30px;">
					<form class="form-inline" role="form" id="searchForm" action="${pageContext.request.contextPath }/search/searchNews" method="post">
						<div class="form-group">
							<label class="sr-only" for="word">名称</label>
							<input type="text" class="form-control" id="word" name="word" value="${word }" placeholder="相关文章...">
						</div>
						<button type="submit" class="btn btn-default">提交</button>
					</form>
				</div>
			</div>
			<!--<div class="col-lg-12" style="padding-top: 30px;">
				<hr />
			</div>-->
		</div>
		
		<!--导航条-->
	<header class="header" style="background-color: blanchedalmond;">
      <div class="container1">
        <ul class="nav">
          <li class="nav-item">
            <a href="${pageContext.request.contextPath }/index/indexlist.html">首页</a>
          </li>
          <li class="nav-item">
            <a href="${pageContext.request.contextPath }/news/newList">新闻</a>
          </li>
          <li class="nav-item">
            <a href="${pageContext.request.contextPath }/adopt/adoptList">收养</a>
          </li>
          <li class="nav-item">
            <a href="${pageContext.request.contextPath }/sent/sentList">送养</a>
          </li>
          <li class="nav-item">
            <a href="${pageContext.request.contextPath }/petLost/showLostTable">宠物丢了</a>
          </li>
          <li class="nav-item">
            <a href="${pageContext.request.contextPath }/lost/LostLost">失物招领</a>
          </li>
          <li class="nav-item">
            <a href="${pageContext.request.contextPath }/found/FoundPet">发现流浪动物</a>
          </li>
          <li class="nav-item">
            <a href="${pageContext.request.contextPath }/About/AboutList">关于我们</a>
          </li>
        </ul>
      </div>
    
    </header>
    

    